k = str(input('请输入：'))
s = 'HelloPython,HelloJava,hellophp'
count = 0
for v in s:
    if k.lower() == v.lower():
        count += 1
print('共出现：%d 次' % count, end='\n')
print('{0}在{1}中一共出现{2}次'.format(k, s, s.lower().count(k)), end='\n')
